You can configure multi protocol BGP.
The session specific configurations of an IPv4 BGP neighbor are placed under the IPv4 address-family. The IPv4 route (prefix) specific configurations of an IPv4 BGP neighbor are placed under the IPv4 address-family. The IPv6 route (prefix) specific configurations of an IPv4 BGP neighbor are placed under the IPv6 address-family.
You can enable multi protocol BGP on a static peer by activating an IPv4 neighbor under the IPv6 address-family.
Note
Backup routing neighbors do not support multi protocol BGP.(efa:root)root@Server41:~# efa tenant service bgp peer create --name customer_1 --tenant tv3 \ --ipv4-uc-nbr 10.20.49.119,v1:10.10.10.11,95001 \ --ipv4-uc-nbr-md5-password 10.20.49.119,v1:10.10.10.11,password \ --ipv4-uc-nbr-bfd 10.20.49.119,v1:10.10.10.11,true,50,5000,50 \ --ipv4-uc-nbr-next-hop-self 10.20.49.119,v1:10.10.10.11,always \ --ipv4-uc-nbr-update-source-ip 10.20.49.119,v1:10.10.10.11,10.11.12.13 \ --ipv4-uc-nbr-remove-private-as 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-default-originate 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-default-originate-route-map 10.20.49.119,v1:10.10.10.11,rt1 \ --ipv4-uc-nbr-route-map 10.20.49.119,v1:10.10.10.11,customer_1_v4_in,in \ --ipv4-uc-nbr-prefix-list 10.20.49.119,v1:10.10.10.11,customer_1_v4_out,out \ --ipv4-uc-nbr-send-community 10.20.49.119,v1:10.10.10.11,all \ --ipv4-uc-nbr-add-path-capability 10.20.49.119,v1:10.10.10.11,both \ --ipv4-uc-nbr-add-path-advertise-all 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-add-path-advertise-best 10.20.49.119,v1:10.10.10.11,16 \ --ipv4-uc-nbr-add-path-advertise-group-best 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-activate-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-default-originate-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-default-originate-route-map-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,rt1 \ --ipv4-uc-nbr-send-community-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,all \ --ipv4-uc-nbr-add-path-capability-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,both \ --ipv4-uc-nbr-add-path-advertise-all-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-add-path-advertise-best-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,16 \ --ipv4-uc-nbr-add-path-advertise-group-best-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,true \ --ipv4-uc-nbr-route-map-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,customer_1__v6_in,in \ --ipv4-uc-nbr-prefix-list-in-ipv6-uc-af 10.20.49.119,v1:10.10.10.11,customer_1__v6_out,out
(efa:root)root@Server41:~# efa tenant service bgp peer update --name customer_1 --tenant tv3 --operation peer-add \ --ipv4-uc-nbr 10.20.49.118,v1:10.10.10.12,95001 \ --ipv4-uc-nbr-md5-password 10.20.49.118,v1:10.10.10.12,password \ --ipv4-uc-nbr-bfd 10.20.49.118,v1:10.10.10.12,true,50,5000,50 \ --ipv4-uc-nbr-next-hop-self 10.20.49.118,v1:10.10.10.12,always \ --ipv4-uc-nbr-update-source-ip 10.20.49.118,v1:10.10.10.12,10.11.12.12 \ --ipv4-uc-nbr-remove-private-as 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-default-originate 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-default-originate-route-map 10.20.49.118,v1:10.10.10.12,rt1 \ --ipv4-uc-nbr-route-map 10.20.49.118,v1:10.10.10.12,customer_1_v4_in,in \ --ipv4-uc-nbr-prefix-list 10.20.49.118,v1:10.10.10.12,customer_1_v4_out,out \ --ipv4-uc-nbr-send-community 10.20.49.118,v1:10.10.10.12,all \ --ipv4-uc-nbr-add-path-capability 10.20.49.118,v1:10.10.10.12,both \ --ipv4-uc-nbr-add-path-advertise-all 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-add-path-advertise-best 10.20.49.118,v1:10.10.10.12,16 \ --ipv4-uc-nbr-add-path-advertise-group-best 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-activate-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-default-originate-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-default-originate-route-map-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,rt1 \ --ipv4-uc-nbr-send-community-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,all \ --ipv4-uc-nbr-add-path-capability-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,both \ --ipv4-uc-nbr-add-path-advertise-all-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-add-path-advertise-best-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,16 \ --ipv4-uc-nbr-add-path-advertise-group-best-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,true \ --ipv4-uc-nbr-route-map-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,customer_1__v6_in,in \ --ipv4-uc-nbr-prefix-list-in-ipv6-uc-af 10.20.49.118,v1:10.10.10.12,customer_1__v6_out,out
(efa:root)root@Server41:~# efa tenant service bgp peer show --detail =============================================================================================== Name : customer_1 Tenant : tv3 State : bgp-peer-created Description : Static Peer ----------- Device IP : 10.20.49.119 VRF : v1 AFI : ipv4 SAFI : unicast Remote IP : 10.10.10.11 Remote ASN : 95001 Activate : true Next Hop Self : always Update Source IP : 10.11.12.13 BFD Enabled : true BFD Interval : 50 BFD Rx : 5000 BFD Multiplier : 50 MD5 Password : $9$MCgKGaNt6OASX68/7TC6Lw== Remove Private AS : true Default Originate : true Default Originate Route Map : rt1 Send Community : all Prefix List In : Prefix List Out : customer_1__v4_out Route Map In : customer_1__v4_in Route Map Out : Add Path Capability : both Add Path Advertise : All, Group Best, Best 16 Dev State : provisioned App State : cfg-in-sync --Multi protocol capability-- AFI : ipv6 SAFI : unicast Activate : true Default Originate : true Default Originate Route Map : rt1 Send Community : all Prefix List In : Prefix List Out : customer_1__v6_out Route Map In : customer_1__v6_in Route Map Out : Add Path Capability : both Add Path Advertise : All, Group Best, Best 16 Dev State : provisioned App State : cfg-in-sync Device IP : 10.20.49.118 VRF : v1 AFI : ipv4 SAFI : unicast Remote IP : 10.10.10.12 Remote ASN : 95001 Activate : true Next Hop Self : always Update Source IP : 10.11.12.12 BFD Enabled : true BFD Interval : 50 BFD Rx : 5000 BFD Multiplier : 50 MD5 Password : $9$MCgKGaNt6OASX68/7TC6Lw== Remove Private AS : true Default Originate : true Default Originate Route Map : rt1 Send Community : all Prefix List In : Prefix List Out : customer_1__v4_out Route Map In : customer_1__v4_in Route Map Out : Add Path Capability : both Add Path Advertise : All, Group Best, Best 16 Dev State : provisioned App State : cfg-in-sync --Multi protocol capability-- AFI : ipv6 SAFI : unicast Activate : true Default Originate : true Default Originate Route Map : rt1 Send Community : all Prefix List In : Prefix List Out : customer_1__v6_out Route Map In : customer_1__v6_in Route Map Out : Add Path Capability : both Add Path Advertise : All, Group Best, Best 16 Dev State : provisioned App State : cfg-in-sync Dynamic Peer ------------ 0 Records ==============================================================================================
Rack1-Device1# show runn router bgp router bgp local-as 65000 capability as4-enable fast-external-fallover neighbor podA-spine-group peer-group neighbor podA-spine-group remote-as 64512 neighbor podA-spine-group description To Spine neighbor podA-spine-group password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor podA-spine-group bfd neighbor 10.10.10.36 peer-group podA-spine-group neighbor 10.20.20.11 remote-as 65000 neighbor 10.20.20.11 next-hop-self neighbor 10.20.20.11 password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor 10.20.20.11 bfd address-family ipv4 unicast network 172.31.254.170/32 maximum-paths 8 graceful-restart ! address-family ipv4 unicast vrf v1 redistribute connected additional-paths select all neighbor 10.10.10.11 remote-as 95001 neighbor 10.10.10.11 default-originate route-map rt1 neighbor 10.10.10.11 prefix-list customer_1__v4_out out neighbor 10.10.10.11 route-map in customer_1__v4_in neighbor 10.10.10.11 additional-paths send receive neighbor 10.10.10.11 additional-paths advertise best 16 group-best all neighbor 10.10.10.11 next-hop-self always neighbor 10.10.10.11 password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor 10.10.10.11 remove-private-as neighbor 10.10.10.11 bfd neighbor 10.10.10.11 bfd interval 50 min-rx 5000 multiplier 50 neighbor 10.10.10.11 update-source 10.11.12.13 neighbor 10.10.10.11 send-community all neighbor 10.40.40.250 remote-as 65000 neighbor 10.40.40.250 next-hop-self neighbor 10.40.40.250 password $9$MCgKGaNt6OASX68/7TC6Lw== maximum-paths 8 ! address-family ipv6 unicast ! address-family ipv6 unicast vrf v1 redistribute connected additional-paths select all neighbor fd40:4040:4040:1::fc remote-as 65000 neighbor fd40:4040:4040:1::fc next-hop-self neighbor fd40:4040:4040:1::fc password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor fd40:4040:4040:1::fc activate neighbor 10.10.10.11 activate neighbor 10.10.10.11 send-community all neighbor 10.10.10.11 default-originate route-map rt1 neighbor 10.10.10.11 prefix-list customer_1__v6_out out neighbor 10.10.10.11 route-map in customer_1__v6_in neighbor 10.10.10.11 additional-paths send receive neighbor 10.10.10.11 additional-paths advertise best 16 group-best all maximum-paths 8 ! address-family l2vpn evpn graceful-restart neighbor podA-spine-group encapsulation vxlan neighbor podA-spine-group next-hop-unchanged neighbor podA-spine-group enable-peer-as-check neighbor podA-spine-group activate ! ! Rack1-Device1# |
Rack1-Device2# show runn router bgp router bgp local-as 65000 capability as4-enable fast-external-fallover neighbor podA-spine-group peer-group neighbor podA-spine-group remote-as 64512 neighbor podA-spine-group description To Spine neighbor podA-spine-group password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor podA-spine-group bfd neighbor 10.10.10.33 peer-group podA-spine-group neighbor 10.20.20.10 remote-as 65000 neighbor 10.20.20.10 next-hop-self neighbor 10.20.20.10 password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor 10.20.20.10 bfd address-family ipv4 unicast network 172.31.254.170/32 maximum-paths 8 graceful-restart ! address-family ipv4 unicast vrf v1 redistribute connected additional-paths select all neighbor 10.10.10.12 remote-as 95001 neighbor 10.10.10.12 default-originate route-map rt1 neighbor 10.10.10.12 prefix-list customer_1__v4_out out neighbor 10.10.10.12 route-map in customer_1__v4_in neighbor 10.10.10.12 additional-paths send receive neighbor 10.10.10.12 additional-paths advertise best 16 group-best all neighbor 10.10.10.12 next-hop-self always neighbor 10.10.10.12 password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor 10.10.10.12 remove-private-as neighbor 10.10.10.12 bfd neighbor 10.10.10.12 bfd interval 50 min-rx 5000 multiplier 50 neighbor 10.10.10.12 update-source 10.11.12.12 neighbor 10.10.10.12 send-community all neighbor 10.40.40.251 remote-as 65000 neighbor 10.40.40.251 next-hop-self neighbor 10.40.40.251 password $9$MCgKGaNt6OASX68/7TC6Lw== maximum-paths 8 ! address-family ipv6 unicast ! address-family ipv6 unicast vrf v1 redistribute connected additional-paths select all neighbor fd40:4040:4040:1::fd remote-as 65000 neighbor fd40:4040:4040:1::fd next-hop-self neighbor fd40:4040:4040:1::fd password $9$MCgKGaNt6OASX68/7TC6Lw== neighbor fd40:4040:4040:1::fd activate neighbor 10.10.10.12 activate neighbor 10.10.10.12 send-community all neighbor 10.10.10.12 default-originate route-map rt1 neighbor 10.10.10.12 prefix-list customer_1__v6_out out neighbor 10.10.10.12 route-map in customer_1__v6_in neighbor 10.10.10.12 additional-paths send receive neighbor 10.10.10.12 additional-paths advertise best 16 group-best all maximum-paths 8 ! address-family l2vpn evpn graceful-restart neighbor podA-spine-group encapsulation vxlan neighbor podA-spine-group next-hop-unchanged neighbor podA-spine-group enable-peer-as-check neighbor podA-spine-group activate ! ! Rack1-Device2# |